using System;
using System.Runtime.InteropServices;

namespace OrbitOne.CRM
{
    /// <summary>
    /// Option structure.
    /// </summary>
    /// <remarks>Members are named as per the IDCRL C++ header file.</remarks>
    [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)]
    struct IDCRL_OPTION
    {
        /// <summary>
        /// Option id.
        /// </summary>
        public int dwId;

        /// <summary>
        /// Option value.
        /// </summary>
        public IntPtr pValue;

        /// <summary>
        /// Option size.
        /// </summary>
        public uint cbValue;
    };
}